/*
 * sgc_config.c
 *
 *  Created on: 2011-7-5
 *      Author: rendong01
 */
#include "sgc_config.h"

#define CROSS_DOMAIN_POLICY "<?xml version=\"1.0\"?>\
<cross-domain-policy>\
<allow-access-from domain=\"*\" to-ports=\"*\"/>\
</cross-domain-policy>"

int cfg_port = 843;

int cfg_buffersize = sizeof("<policy-file-request/>");

int cfg_user_buffersize = sizeof("<policy-file-request/>");

int cfg_maxclients = 1024;

char * cfg_local_addr = "0.0.0.0";

char *cross_domain_policy = CROSS_DOMAIN_POLICY;

int cross_domain_policy_size = sizeof(CROSS_DOMAIN_POLICY);

int cfg_is_daemon = 0;
